---
title: "Add documents to memory"
description: "Learn how to add documents to a memory using BaseAI."
tags:
    - baseai
    - langbase
    - learn
    - memory
section: "nodejs"
published: 2024-09-24
modified: 2024-09-24
---

# Add documents to memory

### Learn how to add documents to a memory using BaseAI

<Note sub="/learn">
This guide is part of the /learn BaseAI course. For context, [start from the beginning](/learn) to follow along.
</Note>

---

In this learn guide, you will add documents to the memory we created in the previous learn guide.

---

## Add documents to memory

Please go ahead and save [Pipe FAQs](https://langbase.com/docs/pipe/faqs) page as a `.pdf` or `.txt` and add it to the memory documents directory at `baseai/memory/chat-with-docs/documents`.

---

_In the next learn guide, we will generate memory embeddings._

---
